package com.wtwd.wtwddevice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wtwd.wtwddevice.model.entity.DeviceBloodPressureTotal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mjy
 * @since 2024-05-29
 */
public interface IDeviceBloodPressureTotalService extends IService<DeviceBloodPressureTotal> {

    /**
     * 获取某一天的血压值
     * @param deviceId
     * @param time
     * @return
     */
    DeviceBloodPressureTotal getDeviceBloodPressureTotal(Long deviceId, String time);

    boolean insertOrUpdate(DeviceBloodPressureTotal deviceBloodPressureTotal);
}
